package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.entity.Article;
import com.example.domain.ResponseResult;

public interface ArticleService extends IService<Article> {

    //获取热门文章列表
    ResponseResult hotArticle();

    //分页查询文章
    ResponseResult articleList(Integer pageNum,Integer pageSize,Long categoryId);

    //根据文章id获取文章详情
    ResponseResult getArticleDetails(Long id);
}
